

Title: Replication File for "Hawkish Partisans: How Political Parties Shape Nationalist Conflicts in China and Japan"

Authors: Trevor Incerti, Daniel Mattingly, Frances Rosenbluth, Seiki Tanaka, and Jiahua Yue

Correspondence: Frances Rosenbluth, Yale University (frances.rosenbluth@yale.edu)

Date: January 25th, 2020

Required Software: Stata (Version 14 or Above), R (3.6.1 or Above)
The required software packages are specified in the replication code.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%% File Structure %%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 


%%%%%%%%%%%%%% Replication Code 
- 0. AccountabilityDescriptive.R
The file loads V-DEM data on political institutions and reproduces Fig.1.
- 1. Aggregate_CN.R
The file loads the original China survey data (China_Data_FINAL.dta) from Qualtrics and saves the recoded data to dat_analysis_CN.Rdata for further analysis.
- 2. Aggregate_JP.R
The file loads the original Japan survey data (Japan_Data_FINAL.dta) from Qualtrics and saves the recoded data to dat_analysis_JP.Rdata for further analysis.
- 3. Analysis_conjoint_CN.R
The file loads the recoded data and reproduces Fig.2 (China). The file also saves conjoint_cn.csv to reproduce Fig.3 (average marginal effect) in Stata.
- 4. AME_CN.do
(Required Stata) The file loads conjoint_cn.csv and produces Fig.3 on the average marginal effect.
- 5. Analysis_conjoint_JP.R
The file loads the recoded data and reproduces Fig.2 (Japan). The file also saves conjoint_jp.csv to reproduce Fig.4 (average marginal effect) in Stata.
- 6. AME_JP.do
(Required Stata) The file loads conjoint_jp.csv and produces Fig.4 on the average marginal effect.
- 7. Analysis_vignette.R
The file loads the recoded data and reproduces Fig.5 and Fig.6 as the main findings.
- 8. Party.R
The file loads the recoded data and reproduces Table.3, Fig.7, and Fig.8 as the main findings.
%%%%% Results in the Online Appendix Starts Here
- 9. Heterogenous_effects_JP.R and 10. Heterogenous_effects_CN.R
The file loads the recoded data and provides the exploratory analysis based on partisan support, education level, and international political preference (Section A9, A12, and A13). The file also includes analysis for the multi-comparison bias (Section A10).
- A1. mm_robustness_china.R / A2. mm_robustness_japan.R
The file loads conjoint_cn.csv and conjoint_jp.csv, and produces additional results on the average marginal effect conditional on the development status of the Diaoyu Islands (Section A7).
- A3. Balance.R
The file loads the recoded data and produces the balance test table (Section A8).
- A4. Japan_party.R
The file loads the recoded data and produces additional results, examining the sensitivity of partisan coding in Japan (Section A11).


%%%%%%%%%%%%%% Data Files (relative path "~/data")
- AccountabilityDescriptive.Rdata
V-Dem Data on accountability and party institutionalization, 1946-2017
- China_Data_FINAL.dta / Japan_Data_FINAL.dta
Original data imported from Qualtrics, anonymized
- dat_analysis_CN.Rdata / dat_analysis_JP.Rdata
Recoded data for the main analysis
- conjoint_cn.csv / conjoint_jp.csv
Extracted conjoint experiment data for the average marginal effect analysis in Stata